package com.linkage.usercenter.pojo.entity;

import com.linkage.usercenter.pojo.baseDO.TableBaseBO;

import java.io.Serializable;
import java.util.Date;

/**
 * 这是MyBatis Generator自动生成的Model Class.
 * 对应的数据表是 : CORE_DPT_INFO
 * @author dev
 * @date 2020-04-19 15:17:07
 */
public class CoreDptInfo extends TableBaseBO implements Serializable {

    /**
     * 部门代码
     */
    private String dptCode;

    /**
     * 部门名称
     */
    private String dptName;

    /**
     * 归属机构代码
     */
    private String dptOrgCode;

    /**
     * 上级部门代码
     */
    private String dptParentCode;

    /**
     * 部门等级
     */
    private Integer dptLevel;

    /**
     * 部门描述
     */
    private String dptDesc;

    /**
     * 部门状态
     */
    private String dptStatus;


    private static final long serialVersionUID = 1L;



    public String getDptCode() {
        return dptCode;
    }

    public void setDptCode(String dptCode) {
        this.dptCode = dptCode == null ? null : dptCode.trim();
    }

    public String getDptName() {
        return dptName;
    }

    public void setDptName(String dptName) {
        this.dptName = dptName == null ? null : dptName.trim();
    }

    public String getDptOrgCode() {
        return dptOrgCode;
    }

    public void setDptOrgCode(String dptOrgCode) {
        this.dptOrgCode = dptOrgCode == null ? null : dptOrgCode.trim();
    }

    public String getDptParentCode() {
        return dptParentCode;
    }

    public void setDptParentCode(String dptParentCode) {
        this.dptParentCode = dptParentCode == null ? null : dptParentCode.trim();
    }

    public Integer getDptLevel() {
        return dptLevel;
    }

    public void setDptLevel(Integer dptLevel) {
        this.dptLevel = dptLevel;
    }

    public String getDptDesc() {
        return dptDesc;
    }

    public void setDptDesc(String dptDesc) {
        this.dptDesc = dptDesc == null ? null : dptDesc.trim();
    }

    public String getDptStatus() {
        return dptStatus;
    }

    public void setDptStatus(String dptStatus) {
        this.dptStatus = dptStatus == null ? null : dptStatus.trim();
    }



    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", dptCode=").append(dptCode);
        sb.append(", dptName=").append(dptName);
        sb.append(", dptOrgCode=").append(dptOrgCode);
        sb.append(", dptParentCode=").append(dptParentCode);
        sb.append(", dptLevel=").append(dptLevel);
        sb.append(", dptDesc=").append(dptDesc);
        sb.append(", dptStatus=").append(dptStatus);
        sb.append(", createCode=").append(createCode);
        sb.append(", createDate=").append(createDate);
        sb.append(", updateCode=").append(updateCode);
        sb.append(", updateDate=").append(updateDate);
        sb.append("]");
        return sb.toString();
    }
}